Optimal. Leaf size=29 \[ -\frac{2 \cot (x)}{3 \sqrt{\csc ^2(x)}}-\frac{\cot (x)}{3 \csc ^2(x)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.011221, antiderivative size = 29, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {4122, 192, 191} \[ -\frac{2 \cot (x)}{3 \sqrt{\csc ^2(x)}}-\frac{\cot (x)}{3 \csc ^2(x)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4122
Rule 192
Rule 191
Rubi steps
\begin{align*} \int \frac{1}{\csc ^2(x)^{3/2}} \, dx &=-\operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right )^{5/2}} \, dx,x,\cot (x)\right )\\ &=-\frac{\cot (x)}{3 \csc ^2(x)^{3/2}}-\frac{2}{3} \operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right )^{3/2}} \, dx,x,\cot (x)\right )\\ &=-\frac{\cot (x)}{3 \csc ^2(x)^{3/2}}-\frac{2 \cot (x)}{3 \sqrt{\csc ^2(x)}}\\ \end{align*}
Mathematica [A] time = 0.0165732, size = 23, normalized size = 0.79 \[ \frac{(\cos (3 x)-9 \cos (x)) \csc (x)}{12 \sqrt{\csc ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.082, size = 30, normalized size = 1. \begin{align*}{\frac{\sqrt{4}\sin \left ( x \right ) \left ( \cos \left ( x \right ) -2 \right ) }{6\, \left ( -1+\cos \left ( x \right ) \right ) ^{2}} \left ( - \left ( \left ( \cos \left ( x \right ) \right ) ^{2}-1 \right ) ^{-1} \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.63545, size = 15, normalized size = 0.52 \begin{align*} \frac{1}{12} \, \cos \left (3 \, x\right ) - \frac{3}{4} \, \cos \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.46182, size = 31, normalized size = 1.07 \begin{align*} \frac{1}{3} \, \cos \left (x\right )^{3} - \cos \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.47768, size = 29, normalized size = 1. \begin{align*} - \frac{2 \cot ^{3}{\left (x \right )}}{3 \left (\csc ^{2}{\left (x \right )}\right )^{\frac{3}{2}}} - \frac{\cot{\left (x \right )}}{\left (\csc ^{2}{\left (x \right )}\right )^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.31127, size = 59, normalized size = 2.03 \begin{align*} -\frac{4 \,{\left (\frac{3 \,{\left (\cos \left (x\right ) - 1\right )} \mathrm{sgn}\left (\sin \left (x\right )\right )}{\cos \left (x\right ) + 1} - \mathrm{sgn}\left (\sin \left (x\right )\right )\right )}}{3 \,{\left (\frac{\cos \left (x\right ) - 1}{\cos \left (x\right ) + 1} - 1\right )}^{3}} + \frac{4}{3} \, \mathrm{sgn}\left (\sin \left (x\right )\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]